package appinventor.ai_Ryan489.BBYM;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;


public class PlansTab extends Activity {
	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);

		/* Second Tab Content */
		setContentView(R.layout.planstab);
		
		   Button b = (Button) findViewById(R.id.buttonatt);
		      b.setOnClickListener(new View.OnClickListener() {
		         public void onClick(View arg0) {
		         Intent i = new Intent(PlansTab.this, attplans.class);
		         startActivity(i);
		         } 
		      });
		      Button sprintplans = (Button) findViewById(R.id.buttonsprint);
		      sprintplans.setOnClickListener(new View.OnClickListener() {
		         public void onClick(View arg0) {
		         Intent i = new Intent(PlansTab.this, sprintPlans.class);
		         startActivity(i);
		         } 
		      });
		      Button tmoplans = (Button) findViewById(R.id.buttontmo);
		      tmoplans.setOnClickListener(new View.OnClickListener() {
		         public void onClick(View arg0) {
		         Intent i = new Intent(PlansTab.this, tmoPlans.class);
		         startActivity(i);
		         } 
		      });
		      Button vzwplans = (Button) findViewById(R.id.buttonvzw);
		      vzwplans.setOnClickListener(new View.OnClickListener() {
		         public void onClick(View arg0) {
		         Intent i = new Intent(PlansTab.this, vzwPlans.class);
		         startActivity(i);
		         } 
		      });
	}
}